﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="messageboard.Default"
    MasterPageFile="~/Site1.Master" %>

<asp:Content ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="js/jquery-1.7.2.min.js">
        $(document).ready(function () {
            $(".logo").animate({ left: "50px", opacity: "0.01" }, 1);
            $(".logo").animate({ left: "50px", opacity: "0.01" }, 100);
            $(".logo").animate({ left: "0px", opacity: "1" }, 500);
            $(".login").animate({ left: "600px", opacity: "0.01" }, 1);
            $(".login").animate({ left: "600px", opacity: "0.01" }, 100);
            $(".login").animate({ left: "650px", opacity: "1" }, 500);
            $("#ContentPlaceHolder1_TextBox1").focus(function () {

                if (this.value == "请输入用户名") {
                    this.value = "";
                }
            });

          

        });
    </script>
</asp:Content>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="logo" >
        <div class="logo1" style="background-color: #CC0066" onclick="document.location='/message.aspx'">
            <br />
            <img src="/images/News.png" alt="Alternate Text" width="100px" height="100px" /><br /><br />
            查看留言
        </div>
        <div class="logo1" style="background-color: #0998FF" onclick="document.location='/message.aspx#message'">
        <br />
            <img src="/images/Messaging.png" alt="Alternate Text" width="100px" height="100px" /><br /><br />
            发布留言
        </div>
        <div class="logo1" style="background-color: #FFCC00" onclick="document.location='/admin/usermanage.aspx'">
        <br />
        <img src="images/Contacts.png" alt="Alternate Text" width="130px" height="100px" /><br /><br />
        用户管理
        </div>
        <div class="logo1" style="background-color: #33CC33" onclick="document.location='/admin/messagemanage.aspx'">
        <br />
        <img src="images/Configure alt 3.png" alt="Alternate Text" width="100px" height="100px" /><br /><br />
        留言管理
        </div>
    </div>
    <div class="login">
        <div style="font-size: 250%">
            登录</div>
        <br />
        <br />
        用户名<br />
        <asp:TextBox ID="TextBox1" runat="server" Text="请输入用户名"></asp:TextBox><br />
        密码
        <br />
        <asp:TextBox ID="TextBox2" runat="server" TextMode="Password" Text="请输入密码"></asp:TextBox><br />
        <br />
        <asp:Button ID="Button1" runat="server" Text="登陆" OnClick="Button1_Click" CssClass="button"
            EnableTheming="False" />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button2" runat="server" CssClass="button" Text="注册" PostBackUrl="~/regist.aspx">
        </asp:Button>
        <br />
        <asp:Label ID="Label1" runat="server" Text=" "></asp:Label>
        <br />
    </div>
</asp:Content>
